package com.example.backblog.repository.user;

import com.example.backblog.entity.user.RolePermission;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RolePermissionRepository extends JpaRepository<RolePermission, Long> {
    List<RolePermission> findAllByRoleIdIn(List<Long> roleIds);
}